//
//  EmptyFunction.m
//  Village
//
//  Created by 程虎 on 2017/10/9.
//  Copyright © 2017年 程虎. All rights reserved.
//

#import "EmptyFunction.h"
#import "ShowEmptyView.h"

@implementation EmptyFunction

+ (void)hideEmpty:(UITableView *)view
{
    view.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
}


+ (void)showEmpty:(UITableView *)view Height:(CGFloat )height
{
    ShowEmptyView *emptyView = [[ShowEmptyView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_W, height)];
    emptyView.backgroundColor = [UIColor whiteColor];
    view.tableFooterView = emptyView;
}
@end
